const fs = require('fs')
const path = require('path')

var target = path.join(__dirname,'../')

fs.readdir(target,(err,files)=>{
    if(err) throw err;

    files.forEach(file => {
        fs.stat(path.join(target,file),(err,stats)=>{

            if(err) throw err;

            console.log(`${stats.mtime.format('yyyy/MM/dd hh:mm')}\t${stats.size}\t${file}`);
        })
    });
})